<?php # Physical_Symptom_Answer.php

require_once 'DBObject.php';

class Physical_Symptom_Answer extends DBObject {
	public $tablename = "physical_symptom_answers";
	
	public $id;
	public $patient_id;
	public $qnumber1; 
	public $qnumber2;
	public $qnumber3;
	public $qnumber4;
	public $qnumber5;
	public $qnumber6;
	public $qnumber7;
	public $qnumber8;
	public $qnumber9;
	public $qnumber10;
	public $qnumber11;
	public $qnumber12;
	public $qnumber13;
	public $qnumber14;
	public $qnumber15;
	public $qnumber16;
	public $qnumber17;
	public $record_date;
	
	
	public function get() {
		return array(
						'patient_id' => $this->patient_id,
						'qnumber1' => $this->qnumber1, 
						'qnumber2' => $this->qnumber2,
						'qnumber3' => $this->qnumber3,
						'qnumber4' => $this->qnumber4,
						'qnumber5' => $this->qnumber5,
						'qnumber6' => $this->qnumber6,
						'qnumber7' => $this->qnumber7,
						'qnumber8' => $this->qnumber8,
						'qnumber9' => $this->qnumber9,
						'qnumber10' => $this->qnumber10,
						'qnumber11' => $this->qnumber11,
						'qnumber12' => $this->qnumber12,
						'qnumber13' => $this->qnumber13,
						'qnumber14' => $this->qnumber14,
						'qnumber15' => $this->qnumber15,
						'qnumber16' => $this->qnumber16,
						'qnumber17' => $this->qnumber17,
						'record_date' => $this->record_date
		);
	}
	
	public function validate() {
		return parent::validateObject($this->tablename);
	}
}